package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.DamageListGoods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface DamageDao {


    void saveDamage(@Param("DamageList") DamageList damageList,
                    @Param("damageListGoodsStr") String damageListGoodsStr);

    List<DamageList> list(@Param("sTime")String sTime,
                             @Param("eTime") String eTime);

    List<DamageListGoods>  getListById(Integer damageListId);
}
